import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

const routes = [
	{	//登录
		path: '/',
		name: 'index',
		component: () => import("@/views/main/index.vue")
	},
];

const router = new VueRouter({
	base: process.env.BASE_URL,
	routes
});

export default router;